<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@page import="Dao.*" %>
    <%@page import="Entity.*" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>我的个人信息</title>
</head>
<body>
<link rel="stylesheet" href="<%=request.getContextPath() %>/css/backstage.css" type="text/css"></link>
<%
Teacher teacher=new Teacher();
if(session.getAttribute("teacherPersonalInformation_session")!=null){
	teacher=(Teacher)session.getAttribute("teacherPersonalInformation_session");
}
%>
<form action="../updateTeacherPersonal" method="post" name="myPersonal_teacher_form">
<table border="1" class="mytable">
			<tr align="center"><td colspan="4">我的个人信息</td></tr>
			<input type="hidden" name="opttype" value="update"/>
			<tr>
			<td>教师号：</td><td><input type="text" value=<%=teacher.getTeacher_id()%> name="teacher_id" readonly></td>
			<td>姓名：</td><td><input type="text" value=<%=teacher.getTeacher_name() %> name="teacher_name"></td>
			</tr>
			<tr>
			<td>性别：</td><td><input type="text" value=<%=teacher.getTeacher_sex() %> name="teacher_sex"></td><td colspan="2"></td>
			</tr>
			<tr>
			<td>学院：</td><td><input type="text" value=<%=teacher.getTeacher_dept() %> name="teacher_dept"></td>
			<td>专业：</td><td><input type="text" value=<%=teacher.getTeacher_major() %> name="teacher_major"></td>
			</tr>
			<tr>
			<td>密码：</td><td><input type="text" value=<%=teacher.getTeacher_pwd() %> name="teacher_pwd"></td><td colspan="2"></td>
			</tr>
			<tr>
			<td colspan="4" align="center"><input type="submit" value="保存"/></td>
			</tr>
		</table>
		</form>
</body>
</html>